Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAST: fix KMS delegation role in security stage #692

Merged
merged 11 commits into from
Jun 23, 2022
Merged

Conversation

lcaggio
Copy link
Collaborator

@lcaggio lcaggio commented Jun 20, 2022

Add custom role to let 03 stages (example: 03-data-platform) assign roles on KMS keys

@ludoo
Copy link
Collaborator

ludoo commented Jun 21, 2022

Lore, can we explore ways of not having to define a custom role? For keys, having set IAM policy means the ability to self-assign KMS admin, so we might as well use that if we can scope the role to keys via a condition, WDYT?

@ludoo
Copy link
Collaborator

ludoo commented Jun 21, 2022

Cloud KMS Admin scoped on resource type key via a condition should probably get you what you need

https://cloud.google.com/iam/docs/conditions-attribute-reference#resource-type

@lcaggio lcaggio changed the title Add KMS custom role Fix KMS delegation role Jun 23, 2022
@lcaggio lcaggio marked this pull request as ready for review June 23, 2022 05:17
@lcaggio lcaggio merged commit 5aebd2c into master Jun 23, 2022
@lcaggio lcaggio deleted the lcaggio/data-p-200622 branch June 23, 2022 07:13
@ludoo ludoo changed the title Fix KMS delegation role FAST: fix KMS delegation role in security stage Jul 31, 2022
@ludoo ludoo added the on:FAST label Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants